﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace TestGame
{
    public class HUD : Sprite
    {
        public HUD(int x, int y, string s)
            : base(x, y, s)
        {
            Layer = 15;
            CurrentState = State.Background;
            Game.hud.Add(this);
            SpriteManager.AddSprite(this);
            Scale = 1f;
        }

        public override void Clicked(SpriteBatch batch, GraphicsDevice graphics, Sprite clicked)
        {
            Game.player.lastClicked = null;
            Game.player.mouseCursor = SpriteManager.manager.Load<Texture2D>("sprites/sprite");
        }
    }
}
